using CommunityToolkit.Mvvm.ComponentModel; namespace BBWYB.Client.Models { public class Consignee : ObservableObject { private string contactName; private string address; private string mobile; private string telePhone; private bool isDecode; /// /// 省 /// public string Province { get; set; } /// /// 市 /// public string City { get; set; } /// /// 县 /// public string County { get; set; } /// /// 镇 /// public string Town { get; set; } public string ContactName { get => contactName; set { SetProperty(ref contactName, value); } } public string Address { get => address; set { SetProperty(ref address, value); } } public string Mobile { get => mobile; set { SetProperty(ref mobile, value); } } public string TelePhone { get => telePhone; set { SetProperty(ref telePhone, value); } } public bool IsDecode { get => isDecode; set { SetProperty(ref isDecode, value); } } } }